function makestr(thing,reason)
{
    var ret = "";
    if(thing!=null && thing.length>0)
    {
        ret = '<p class="thing">'+thing+"</p>";
    }
    if (reason!=null && thing.length>0)
    {
        ret += '<p class="reason">'+reason+"</p>";
    }
    return ret;
}

function getValue()
{
    var x=document.getElementById('rightcolum1');
    alert(x.innerHTML);
    x.innerHTML=makestr("锻炼身体","多吃营养")+makestr("锻炼身体","多吃营养");
}

function TestJson()
{
    var x=document.getElementById('rightcolum1');
    alert(x.innerHTML);
    x.innerHTML=makestr(jsondata[1].context)+makestr(jsondata[1].fit);
}
